package com.map.service;

import com.map.dto.TuCengDto;
import com.map.entity.*;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Sort;

import java.util.List;

public interface TucengService {


    public Page<Maptuceng> queryMaptuceng(TuCengDto tuCengDto, Integer pageIndex, Integer pageSize, Sort.Direction direction, String... properties);

    List<MapTucengDetails> queryMapTucengDetailsByLikeName(String name);

    public void saveMaptuceng(Maptuceng maptuceng);

    public void saveMapTucengDetails(MapTucengDetails mapTucengDetails);

    public void saveMapTucengPage(MapTucengPage mapTucengPage);

    public void saveMaptucengStyle(MaptucengStyle maptucengStyle);


    public Page<MaptucengStyle> queryMapTuCengStyleRepository(String  layername, Integer pageIndex, Integer pageSize, Sort.Direction direction, String... properties);


}
